source 'https://ruby.taobao.org'

# git_source(:github) do |repo_name|
#   repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
#   "https://github.com/#{repo_name}.git"
# end

gem 'rails', '~> 5.0.1'
gem 'mysql2'

# Use Puma as the app server
gem 'puma', '~> 3.0'

gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'jbuilder', '~> 2.5'
gem 'sidekiq'
gem "paperclip"
gem 'redis', '~> 3.0'
gem 'weixin_rails_middleware'
gem 'weixin_authorize'
gem 'wx_pay', '~> 0.8.0'

# js
gem 'turbolinks'
gem 'jquery-turbolinks'
gem 'jquery-rails'
gem 'jquery-fileupload-rails'
gem 'jquery-ui-rails'


gem 'magic_encoding'
gem 'kaminari'
gem 'unicorn'

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug', platform: :mri
  gem 'rspec-rails'
  gem 'rspec-core'
  gem 'sshkit',:require => false
  gem 'factory_girl'
end

group :development do
  gem 'web-console', '>= 3.3.0'
  gem 'listen', '~> 3.0.5'
  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
  gem 'spring'
  gem 'spring-watcher-listen', '~> 2.0.0'
  gem 'capistrano','~> 3.0'
  gem 'capistrano-rails',   '~> 1.1', require: false
  gem 'capistrano-bundler', '~> 1.1', require: false
  gem 'rvm1-capistrano3', :require => false
end
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
